.menu-panel {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 2vw;
  background: rgba(255, 255, 255, 0.92);
  padding: 1vw 2vw 25px 2vw;
  border-radius: 1vw 1vw 0 0;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.10);
  z-index: 1000;
}

.menu-item {
  width: 3vw;
  min-width: 32px;
  height: 3vw;
  min-height: 32px;
  max-width: 56px;
  max-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 2vw;
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.2s;
}

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5vw;
  height: 2.5vw;
  min-width: 40px;
  min-height: 40px;
  font-size: 2vw;
  line-height: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.2s, box-shadow 0.2s;
  will-change: transform;
}
.menu-icon img {
  width: 2.5vw;
  height: 2.5vw;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.menu-item:hover .menu-icon,
.menu-item:focus .menu-icon {
  transform: scale(1.1);
  box-shadow: 0 0 12px 2px rgba(128, 128, 128, 0.32);
}

.menu-text {
  position: absolute;
  left: 50%;
  bottom: -1.8vw;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  font-size: 1vw;
  margin-top: 0.3vw;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 0.5vw;
  padding: 0.1vw 0.8vw;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-item:hover .menu-text,
.menu-item:focus .menu-text {
  opacity: 1;
  visibility: visible;
}
